package service.impl;

import dao.Comment_userMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.Comment_user;
import service.Comment_userService;

import java.util.List;

@Service("comment_userServiceImpl")
public class Comment_userServiceImpl implements Comment_userService {
    @Autowired
    private Comment_userMapper comment_userMapper;

    public Comment_userMapper getComment_userMapper() {
        return comment_userMapper;
    }

    public void setComment_userMapper(Comment_userMapper comment_userMapper) {
        this.comment_userMapper = comment_userMapper;
    }

    @Override
    public List<Comment_user> selects(Comment_user comment_user) {
        System.out.println("进入service");
        System.out.println(comment_user.getUseruid());
        return comment_userMapper.selects(comment_user);
    }
}
